import request from '@/config/index';
const baseUrl = '/client';

/*-------------------------------公用--------------------------------------*/
// 所有国家
export const ApiCountryList = () => {
	return request.get({ url: `${baseUrl}/get-country` });
};

// 上传文件
export const uploadFile = (data) => {
	return request.upload({ url: `/infra/file/upload`,data });
};


// 获取用户精简信息列表
export const simpleList = () => {
	return request.get({ url: `/system/user/simple-list`, });
};

// 查询公司岗位列表
export const getPostList = () => {
	return request.get({ url: `/system/post/list`, });
};


// 获取部门列表
export const getDeptList = () => {
	return request.get({ url: `/system/dept/list`, });
};